package io.github.talelin.latticy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author pedro@TaleLin
 */
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan(basePackages = {"io.github.talelin.latticy.mapper"})
//@EnableScheduling
@SpringBootApplication(scanBasePackages = {"io.github.talelin.latticy"})
public class LatticyApplication {
    public static void main(String[] args) {
        SpringApplication.run(LatticyApplication.class, args);
    }
}
